package com.jvmoutofmemory.platform.pushutil;

import com.jvmoutofmemory.platform.pushutil.service.PushJobService;
import com.jvmoutofmemory.platform.pushutil.task.PushTaskJob;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author adam
 * @date 2021-11-17
 */
@Configuration
public class PushConfiguration {

    @Bean
    public PushJobService pushJobService() {
        return new PushJobService();
    }

    @Bean
    public PushTaskJob taskJob() {
        return new PushTaskJob();
    }

}
